# -*- coding: utf-8 -*-

import logging

from component import Component


class Messenger(Component):

    def send_by_logger(self, msg, logger_name='mail'):
        logging.getLogger(logger_name).critical(msg)
